﻿using System;

namespace diantou.dataModel
{
    /// <summary>
    /// 程序草稿
    /// </summary>
    [fastCSharp.emit.jsonSerialize(IsAllMember = true)]
    [fastCSharp.emit.dataSerialize(IsReferenceMember = false, IsMemberMap = false)]
    [fastCSharp.code.cSharp.sqlModel]
    public partial class programDraft
    {
        /// <summary>
        /// 用户标识
        /// </summary>
        [fastCSharp.emit.dataMember(PrimaryKeyIndex = 1)]
        public int UserId;
        /// <summary>
        /// 问题标识
        /// </summary>
        [fastCSharp.emit.dataMember(PrimaryKeyIndex = 2)]
        public int ProblemId;
        /// <summary>
        /// 程序语言
        /// </summary>
        public judgeState.languageType Language;
        /// <summary>
        /// 程序内容
        /// </summary>
        [fastCSharp.emit.dataMember(MaxStringLength = judgeState.MaxProgramContentLength)]
        public string Content;
    }
}
